//
//  LXDLayoutModel.m
//  BLDMusics
//
//  Created by lxd on 16/3/28.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "LXDLayoutModel.h"

@implementation LXDLayoutModel

- (void)setValue:(id)value forKey:(NSString *)key {
    
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"action"]) {
        self.type = [value[@"type"] stringValue];
    }
    if ([key isEqualToString:@"smallPicUrls"]) {
        self.smallPicUrls = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.ID = [NSString stringWithFormat:@"%@", value];
    }
}

@end
